package com.sx.zongzhi.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by XZY on 2018/1/13.
 * 楼宇
 */

public class BuildingListBean {


    /**
     * page : 1
     * permission : {}
     * records : 2
     * rows : []
     * total : 2
     */

    private int page;
    private PermissionBean permission;
    private int records;
    private int total;
    private List<RowsBean> rows;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public PermissionBean getPermission() {
        return permission;
    }

    public void setPermission(PermissionBean permission) {
        this.permission = permission;
    }

    public int getRecords() {
        return records;
    }

    public void setRecords(int records) {
        this.records = records;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class PermissionBean implements Serializable{
        /**
         * updateBuilddatas : true
         * houseManage : true
         * deleteBuilddatas : true
         * addBuilddatas : true
         */


        private boolean updateBuilddatas;
        private boolean houseManage;
        private boolean deleteBuilddatas;
        private boolean addBuilddatas;

        public boolean isUpdateBuilddatas() {
            return updateBuilddatas;
        }

        public void setUpdateBuilddatas(boolean updateBuilddatas) {
            this.updateBuilddatas = updateBuilddatas;
        }

        public boolean isHouseManage() {
            return houseManage;
        }

        public void setHouseManage(boolean houseManage) {
            this.houseManage = houseManage;
        }

        public boolean isDeleteBuilddatas() {
            return deleteBuilddatas;
        }

        public void setDeleteBuilddatas(boolean deleteBuilddatas) {
            this.deleteBuilddatas = deleteBuilddatas;
        }

        public boolean isAddBuilddatas() {
            return addBuilddatas;
        }

        public void setAddBuilddatas(boolean addBuilddatas) {
            this.addBuilddatas = addBuilddatas;
        }

    }

    public static class RowsBean implements Serializable {

        /**
         * buildingaddress : 襄阳市枣阳市万象城
         * buildingname : 万象城
         * buildingstructures : {"displayName":"钢结构","id":"CA87B95552D9408EB82EC398EA7D0DD7"}
         * createDate : 2018-01-13 15:37:47
         * id : 8C66D6246F7545FEAFB28551895A30D4
         * layout : false
         * owner : 谭天啸
         * phone : 15872228416
         * responsibleperson : 谭天啸
         * type : {"displayName":"普通住宅","id":"A0FFFE3BF00845568265C916A642B756"}
         */

        private String buildingaddress;
        private String buildingname;
        private GlobalBean buildingstructures;
        private String createDate;
        private String id;
        private boolean layout;
        private String owner;
        private String phone;
        private String responsibleperson;
        private GlobalBean type;

        public String getBuildingaddress() {
            return buildingaddress;
        }

        public void setBuildingaddress(String buildingaddress) {
            this.buildingaddress = buildingaddress;
        }

        public String getBuildingname() {
            return buildingname;
        }

        public void setBuildingname(String buildingname) {
            this.buildingname = buildingname;
        }

        public GlobalBean getBuildingstructures() {
            return buildingstructures;
        }

        public void setBuildingstructures(GlobalBean buildingstructures) {
            this.buildingstructures = buildingstructures;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isLayout() {
            return layout;
        }

        public void setLayout(boolean layout) {
            this.layout = layout;
        }

        public String getOwner() {
            return owner;
        }

        public void setOwner(String owner) {
            this.owner = owner;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getResponsibleperson() {
            return responsibleperson;
        }

        public void setResponsibleperson(String responsibleperson) {
            this.responsibleperson = responsibleperson;
        }

        public GlobalBean getType() {
            return type;
        }

        public void setType(GlobalBean type) {
            this.type = type;
        }

    }
}
